﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="WebFormsSample._Default" %>

<%@ MasterType TypeName="WebFormsSample.SiteMaster" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Quick Info</h2>
    <p>
        This application is intended to show the core features of ActivityTrackingLog component.
        <br />
        To learn more about Activity Tracking Log visit <a href="http://activitytrackinglog.codeplex.com/"
            title="Activity Tracking Log Samples" target="_blank">Activity Tracking Log @ CodePlex</a>.
    </p>
    <ul>
        <li><span class="bold">Configuration</span> - The configuration is stored in web.config
            so you are free to modify it. The default settings enable all types of logging over
            in memory storage. That means that the data from storage is lost every time you
            shut down the application</li>
        <li class="margin-top"><span class="bold">Logging</span> - every page class contained
            in current project triggers activity actions from both server and client side. Consecutive
            page reload generate more activity action records</li>
    </ul>
    <h2>
        Site Map</h2>
    <ul>
        <li class="margin-top"><a href="/Default.aspx"><span class="bold">Home Page</span></a>
            - Home page. Contains site map info.</li>
        <li class="margin-top"><a href="/UsageInfo.aspx"><span class="bold">Usage Info</span></a>
            - thi spage describes the configuration settings, logging modes, analitics UI, API</li>
        <li class="margin-top"><span class="bold">Activity Analytics</span> - the root menu
            item for all kind of log analytics UI pages
            <ul>
                <li><span class="bold">Out of the box statistics</span> - This group of reports runs
                    out of the box without any need to created your own UI. All report settings are
                    transmitted by query string parameters. The pages from this group use their own
                    styles however you can refuse using them but you cannot attach your styles.
                    <ul>
                        <li><span class="bold">Collected Data</span> - runs the embedded into ActivityTrackingLog
                            statistics page by entity type (<a href="/ActivityAnalytics/ActivityAnalyticsUI.axd?entity=ActivityItem&view=page&report=list&page_size=25&page_index=0&cols=Sequence,TimeUtc,ActivityType,Category,Activity,UserKey,ClientHost,PageUrl"
                                target="_blank">Activity Items</a> /<a href="/ActivityAnalytics/ActivityAnalyticsUI.axd?entity=UserAgentItem&view=page&report=list&page_size=25&page_index=0&cols=Sequence,Hash,AgentString"
                                    target="_blank">User Agents</a>).</li>
                        <li><span class="bold">Grouped Data</span> - runs the embedded into ActivityTrackingLog
                            grouped statistics by entity type (<a href="/ActivityAnalytics/ActivityAnalyticsUI.axd?entity=ActivityItem&view=page&report=groupedlist&cols=ActivityType,Category,Activity,PageUrl"
                                target="_blank">Activity Items</a> /<a href="/ActivityAnalytics/ActivityAnalyticsUI.axd?entity=UserAgentItem&view=page&report=groupedlist&cols=Hash,AgentString"
                                    target="_blank">User Agents</a>).</li>
                        <li><span class="bold">Chart (Planned feature)</span> - runs the embedded into ActivityTrackingLog
                            chart statistics page by entity type (Activity Items/User Agents).</li>
                    </ul>
                </li>
                <li class="margin-top"><span class="bold">Custom statistics pages (Embedded Html control)</span>
                    - This group of reports requires a custom page to be created in your application.
                    Statistics control is embedded into your page layout preserving your page styles.
                    <ul>
                        <li><span class="bold">Collected Data</span> - runs the statistics by entity type (<a
                            href="/ActivityAnalytics/ActivityItemFlatList.aspx">Activity Items</a> /<a href="/ActivityAnalytics/UserAgentItemFlatList.aspx">User
                                Agents</a>). Report settings are set by calling HtmlHelper.RenderList() with
                            specific parameters.</li>
                        <li><span class="bold">Grouped Data</span> - runs the grouped statistics by entity type
                            (<a href="/ActivityAnalytics/ActivityItemGroupedList.aspx">Activity Items</a> /<a
                                href="/ActivityAnalytics/UserAgentItemGroupedList.aspx">User Agents</a>). Report
                            settings are set by calling HtmlHelper.RenderGroupedList() with specific parameters.</li>
                        <li><span class="bold">Chart (Planned feature)</span> - runs the chart representation
                            of statistics by entity type (Activity Items/User Agents). Report settings are set
                            by calling HtmlHelper.RenderChart() with specific parameters.</li>
                    </ul>
                </li>
                <li class="margin-top"><span class="bold">Custom statistics pages (Html control via
                    AJAX)</span> - This group of reports requires a custom page to be created in your
                    application. Statistics control is embedded into your page (preserving your page
                    styles) by an AJAX call (jQuery is the easiest way of doing this) and represents
                    the most powerfull possibility to display analytics. Here you can control the control's
                    parameters from client side script. <a href="/ActivityAnalytics/AnalyticsAjax.aspx">
                        View statistics</a> </li>
            </ul>
        </li>
    </ul>
    <script type="text/javascript">
        $(function () {
            logClientSideActivity('HomePageLoaded');
        })
    </script>
</asp:Content>
